package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.product.entity.BaseCategory1;
import com.atguigu.gmall.weball.vo.CategoryTreeVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import feign.Param;

import java.util.List;

/**
 * @author weiranyi
 * @description 针对表【base_category1(一级分类表)】的数据库操作Mapper
 * @createDate 2022-11-29 16:41:28
 * @Entity com.atguigu.gmall.product.entity.BaseCategory1
 */
public interface BaseCategory1Mapper extends BaseMapper<BaseCategory1> {

    List<CategoryTreeVo> getCategoryTreeData();

    CategoryTreeVo getCategoryTreeVoByC3Id(@Param("c3Id") Long c3Id);
}




